package com.shopx.gw;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;

/**
 * TODO
 *
 * @author:lituo
 * @date:2023/4/5
 **/
@SpringBootApplication
@ComponentScan(basePackages = {"com.shopx"})
@ImportResource(value = {"classpath:mybatis-config.xml"})
@Slf4j
public class GwBoot {
  public static void main(String[] args) {
    log.info("网关启动开始......");
    SpringApplication.run(GwBoot.class, args);
  }
}
